package com.giscloud.amp.dao;

import com.giscloud.amp.entity.AmpStaff;
import com.giscloud.amp.entity.AmpStaffExample;
import com.giscloud.amp.entity.DataScope;
import com.giscloud.amp.entity.vo.AmpStaffVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface AmpStaffMapper {
    long countByExample(AmpStaffExample example);

    int deleteByExample(AmpStaffExample example);

    int insert(AmpStaff record);

    int insertSelective(AmpStaff record);

    List<AmpStaffVO> selectByExample(AmpStaffExample example);

    List<AmpStaffVO> selectByExampleWhere(AmpStaffExample example);

    int updateByExampleSelective(@Param("record") AmpStaff record, @Param("example") AmpStaffExample example);

    int updateByExample(@Param("record") AmpStaff record, @Param("example") AmpStaffExample example);

    int resetPasswordByExample(@Param("record") AmpStaff record, @Param("example") AmpStaffExample example);

    List<AmpStaffVO> selectByExample1(@Param("example") AmpStaffExample example, @Param("dataScope") DataScope dataScope);
}